package com.stylefeng.guns.rest.modular;

import com.alibaba.dubbo.config.annotation.Reference;
import com.stylefeng.guns.api.user.service.UserAPI;
import org.springframework.stereotype.Component;

/**
 * @创建人 lIUJF
 * @创建时间 2019/1/4
 * @描述:
 */
@Component
public class Client {
	@Reference(interfaceClass = UserAPI.class)
	private UserAPI userAPI;

	public void run(){
		userAPI.login("test", "password");
	}

}
